home *** CD-ROM | disk | FTP | other *** search
/ Eagles Nest BBS 8 / Eagles_Nest_Mac_Collection_Disc_8.TOAST / Developer Tools⁄Additions / MacTCPToolBx / TCP XCMD Docs / card_2444.txt < prev    next >
Text File  |  1989-06-01  |  827b  |  30 lines

  1. -- card: 2444 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3170
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 9
  9. ----- text -----
  10. Function:
  11.  
  12. -- part contents for background part 1
  13. ----- text -----
  14. rot13(string)
  15.  
  16. -- part contents for background part 2
  17. ----- text -----
  18. Return an en/decrypted version of string.
  19.  
  20. -- part contents for background part 3
  21. ----- text -----
  22. string
  23.  
  24. -- part contents for background part 7
  25. ----- text -----
  26. the string to be en/decrypted
  27.  
  28. -- part contents for background part 4
  29. ----- text -----
  30. Rot13 is a simple encryption/decryption mechanism used in the Net News community to "hide" potentially offensive material. It simply takes every letter in the test and add's 13 to it, modulo the letters of the alphabet. (I.e., "A" becomes "N", "B" becomes "O", ... , "N" becomes "A".)